package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.iems.dao.LoadAwokeDAO;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class LoadAwokeJob extends QuartzJobBean{
	private LoadAwokeDAO loadAwokeDAO;

	
	/**
	 * @return the loadAwokeDAO
	 */
	public LoadAwokeDAO getLoadAwokeDAO() {
		return loadAwokeDAO;
	}

	/**
	 * @param loadAwokeDAO the loadAwokeDAO to set
	 */
	public void setLoadAwokeDAO(LoadAwokeDAO loadAwokeDAO) {
		this.loadAwokeDAO = loadAwokeDAO;
	}


	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		//载重提醒信息统计开始
		loadAwokeDAO.startAwoke();
	}
}
